20. Exercise: Add Two More Checkboxes

Exercise Code

In this exercise, you will get to add two more check boxes on your own to allow showing and hiding the Mid and Treble shapes in the Visualizer app!

Exercise: T06.06-Exercise-AddTwoMoreCheckboxes

Add Two More Checkboxes

Now it's your turn to add two new checkboxes for showing the Mid and Treble shapes.

SOLUTION:
  • Add two more checkboxes for the treble and mid-range
  • Add all of the strings for the new checkboxes
  • Add any extra booleans for the new checkboxes
  • Update the code in setupSharedPreferences and onSharedPreferenceChanged to update